package com.hwq.plugin.sample

import com.android.build.gradle.BaseExtension
import org.gradle.api.Plugin
import org.gradle.api.Project

class HwqPlugin implements Plugin<Project> {
  @Override
  void apply(Project target) {
    def transform = new HwqTransform()
    def baseExtension = target.extensions.getByType(BaseExtension)
    baseExtension.registerTransform(transform)
  }
}